<?php
/**
* 
*/
class gettikuView extends GetLoad
{
	
	
		public function jianliView($data){
				$this->load("Controller/user1");
				$daohang =new ControllerName();
				$daohang->Getname(0);
				//var_dump($data);

?>


        <select onchange="window.location=this.value;" style="width: 30%; height: 30px;">
              <option style="width: 30%; height: 30px;" ><?php if($data['laoshi_id']!=0){echo "已选择";}else{echo "请选择老师";}?></option>
            <?php foreach ($data['laoshi'] as $laoshi) {
             ?>
            
        <option style="width: 30%;height: 30px;" value=<?php echo "'./index.php?route=Controller/tiku/ControllerTiku/gettiku&=".$laoshi['id']."'" ?> > <?php echo $laoshi['name']; ?></option>
        <?php } ?>
        </select>
        <select onchange="window.location=this.value;" style="width: 30%; height: 30px;">
             <option style="width: 30%; height: 30px;" >请选择试卷</option>
             <?php foreach ($data['mulu'] as $shiyanshi) {
             ?>
        <option style="width: 20%;height: 30px;" value=<?php echo "'./index.php?route=Controller/tiku/ControllerTiku/shengchengshijuan&=".$shiyanshi['id']."'" ?>><?php echo $shiyanshi['name'] ?></option>
            <?php } ?>
        </select>

        				
         </div>
           
         <div class="col-sm-4" style="margin-top:300px;">
         	
            	
            
         </div>
            
       </div>
    </div>

    
</body>
</html>
<?php 
	}
}

?>